Package-level declarations
Types
Link copied to clipboard
data class LayoutEntity(val layoutId: String, val elements: Map<String, LayoutEntityElement> = mapOf(), val defaults: OptionEntity? = null)
一个顶层布局及其元素、默认字体和图片组选项。 A top-level layout with its elements and default font/image options.
Link copied to clipboard
data class LayoutEntityElement(anchor: GuiAnchor? = null, val layer: Int = 0, val affectBounds: Boolean = true, val condition: String? = null, val x: Int = 0, val y: Int = 0, val align: String? = null, value: String? = null, val lines: LinesConfig? = null, val list: List<String>? = null, val offset: PositionOffset? = null, val image: ElementImageEntity? = null, val head: HeadElement? = null, val avatar: AvatarElement? = null, val progress: LayoutEntityProgress? = null, val compass: CompassElement? = null, val background: ElementBackgroundEntity? = null, val font: String? = null)
布局中的图片、玩家头像、文字、进度条或文字背景。 A layout element representing an image, player head, text, progress display, or text background.
Link copied to clipboard
data class LayoutEntityProgress(val namespace: String? = null, val basename: String? = null, val variables: ProgressVariableEntity? = null, val list: List<String>? = null, val image: ProgressImageEntity? = null, val fill: ProgressFill? = null, val transition: ProgressTransition? = null, val trail: ProgressTrail? = null, val refresh: Int? = null)
把图片或图片列表映射为玩家的进度显示。 Maps an image pair or image list to a player’s progress display.
Link copied to clipboard
从脚本内容生成多行文字的配置。 Configuration for multiline text produced from a script expression.
Link copied to clipboard
多行文字的行间像素偏移,不是元素的外层坐标。 Per-line pixel spacing for multiline text, not the element's outer position.
Link copied to clipboard
使用空图和满图绘制进度的图片 ID。 Image IDs for the empty and full states of a progress display.
Link copied to clipboard
data class ProgressVariableEntity(val units: Int = 1, val total: String? = null, val current: String? = null)
进度的总量、当前值及可选分段数量。 Total value, current value, and optional segment count for progress.